package main

import (
	"app/config"
	"app/setup/db"
	"app/setup/router"
	"fmt"
)

type Application struct {
}

func (app *Application) Start() {
	//加载配置
	db.LoadDb()
	//加载路由
	router.LoadRouter()
	//系统运行提示
	fmt.Println(fmt.Sprintf("系统：%s,系统版本：%s", config.AppName, config.Version))
}
